home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / filesyst / ext2 / e2fsprog.004 / e2fsprog / e2fsprogs-1.04.spec next >
Encoding:
Text File  |  1996-11-17  |  1.5 KB  |  93 lines

  1. Description: Tools for the second extended (ext2) filesystem 
  2. Name: e2fsprogs
  3. Version: 1.04
  4. Release: 0
  5. Copyright: GPL
  6. Group: Utilities/System
  7. Source: tsx-11.mit.edu:/pub/linux/packages/ext2fs/e2fsprogs-1.04.tar.gz
  8.  
  9. %package devel
  10. Description: e2fs static libs and headers
  11. Group: Development/Libraries
  12.  
  13. %prep
  14. %setup
  15.  
  16. %build
  17.  
  18. %ifarch i386
  19. CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-profile --enable-elf-shlibs
  20. %endif
  21.  
  22. %ifarch axp
  23. CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-profile
  24. %endif
  25.  
  26. #make 
  27. make libs progs
  28.  
  29. %install
  30. rm -rf /usr/include/ss /usr/include/et /usr/include/ext2fs
  31. export PATH=/sbin:$PATH
  32. make install
  33. make install-libs
  34.  
  35. mv /usr/sbin/debugfs /sbin/debugfs
  36.  
  37. %ifarch i386
  38. %post
  39. /sbin/ldconfig
  40. %endif
  41.  
  42. %files
  43. /sbin/e2fsck
  44. /sbin/fsck.ext2
  45. /usr/man/man8/e2fsck.8
  46. /sbin/debugfs
  47. /usr/man/man8/debugfs.8
  48. /sbin/mke2fs
  49. /sbin/badblocks
  50. /sbin/tune2fs
  51. /sbin/dumpe2fs
  52. /sbin/fsck
  53. /usr/sbin/mklost+found
  54. /sbin/mkfs.ext2
  55.  
  56. %ifarch i386
  57. /lib/libe2p.so.2.1
  58. /lib/libext2fs.so.2.0
  59. /lib/libss.so.2.0
  60. /lib/libcom_err.so.2.0
  61. %endif
  62.  
  63. /usr/bin/chattr
  64. /usr/bin/lsattr
  65. /usr/man/man8/tune2fs.8
  66. /usr/man/man8/mklost+found.8
  67. /usr/man/man8/mke2fs.8
  68. /usr/man/man8/dumpe2fs.8
  69. /usr/man/man8/badblocks.8
  70. /usr/man/man8/fsck.8
  71. /usr/man/man1/chattr.1
  72. /usr/man/man1/lsattr.1
  73.  
  74. %files devel
  75. /usr/lib/libe2p.a
  76. /usr/lib/libext2fs.a
  77. /usr/lib/libss.a
  78. /usr/lib/libcom_err.a
  79. /usr/lib/libe2p_p.a
  80. /usr/lib/libext2fs_p.a
  81. /usr/lib/libss_p.a
  82. /usr/lib/libcom_err_p.a
  83. /usr/include/ss
  84. /usr/include/ext2fs
  85. /usr/include/et
  86.  
  87. %ifarch i386
  88. /lib/libe2p.so
  89. /lib/libext2fs.so
  90. /lib/libss.so
  91. /lib/libcom_err.so
  92. %endif
  93.